package com.itheima.pojo;

/**
 * 排片信息类
 */
public class Arrangement {
    //按效果可知，有属性：影厅编号、电影名称、播放开始时间、播放结束时间、票价
    private int number; //影厅编号
    private String movieName; //电影名称
    private double startTime; //开始时间
    private double endTime; //结束时间
    private double price; //票价

    private int sold;
    public int[][] table = new int[10][18];

    public int getSold() {
        return sold;
    }

    public void setSold(int sold) {
        this.sold = sold;
    }




    //定义构造器和Getter and Setter方法
    public Arrangement() {
    }

    public Arrangement(int number, String movieName, double startTime, double endTime, double price) {
        this.number = number;
        this.movieName = movieName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public double getStartTime() {
        return startTime;
    }

    public void setStartTime(double startTime) {
        this.startTime = startTime;
    }

    public double getEndTime() {
        return endTime;
    }

    public void setEndTime(double endTime) {
        this.endTime = endTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
